<template>
    <!-- 用户照片 start-->
    <div class="user">
        <div class="img"></div>
        <div class="content">
            <div class="name">{{ uname }}</div>
            <div class="address">{{ address }}<span class="iconfont">&#xe677;</span></div>
        </div>
    </div>
    <!-- 用户照片 end -->
</template>
<script>
export default {
    data(){
        return {
            uname:"用户名称",
            address:"我的收货地址",
        }
    }
}
</script>

<style lang="less" scoped>
.user{
    width: 100%;
    position: absolute;
    height: 184px;
    background-color: @white;
    overflow: hidden;
    box-shadow: 0 2PX 4PX rgba(0,0,0,0.1);
    z-index: 200;
    .img{
        width: 102px;
        height: 102px;
        background: url('../../public/img/user.jpg');
        background-size: 100%;
        background-repeat: no-repeat;
        border-radius: 50%;
        margin:40px;
        float: left;
    }
    .content{
        float: left;
        height: 100px;
        margin:42px 0px;
        .name{
            font-size: 40px;
        }
        .address{
            line-height: 58px;
            font-size: 25px;
            .iconfont{
                margin-left: 50px;
                font-size: 25px;

            }
        }
    }
}
</style>
